@@ -89,6 +89,8 @@ class @Utils |
||
89 | 89 |
$(body).closest('[role=dialog]').on 'hidden.bs.modal', => |
90 | 90 |
@invokeDryRun(url, dry_run_data, cleanup) |
91 | 91 |
.modal('hide') |
92 |
+ $(body).closest('[role=dialog]').on 'shown.bs.modal', -> |
|
93 |
+ $(this).find('.btn-primary').focus() |
|
92 | 94 |
title: 'Dry Run' |
93 | 95 |
onHide: cleanup |
94 | 96 |
|